package com.wbvideo.resample;

public class AudioReSampleUtils {

    static {
        System.loadLibrary("audioresample");
    }

    public static native long initReSample(int inChannels, int inSampleRate,
                                           int outChannels, int outSampleRate);

    public static native byte[] reSampleBuffer(long obj, byte[] buffer, int bytelen);

    public static native void endResample(long obj);
}
